Optimal. Leaf size=167 \[ -\frac {3 A \sin (c+d x) \cos ^{m+1}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+2);\frac {1}{6} (3 m+8);\cos ^2(c+d x)\right )}{d (3 m+2) \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \cos (c+d x)}}-\frac {3 B \sin (c+d x) \cos ^{m+2}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+5);\frac {1}{6} (3 m+11);\cos ^2(c+d x)\right )}{d (3 m+5) \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 167, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {20, 2748, 2643} \[ -\frac {3 A \sin (c+d x) \cos ^{m+1}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+2);\frac {1}{6} (3 m+8);\cos ^2(c+d x)\right )}{d (3 m+2) \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \cos (c+d x)}}-\frac {3 B \sin (c+d x) \cos ^{m+2}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+5);\frac {1}{6} (3 m+11);\cos ^2(c+d x)\right )}{d (3 m+5) \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 20
Rule 2643
Rule 2748
Rubi steps
\begin {align*} \int \frac {\cos ^m(c+d x) (A+B \cos (c+d x))}{\sqrt [3]{b \cos (c+d x)}} \, dx &=\frac {\sqrt [3]{\cos (c+d x)} \int \cos ^{-\frac {1}{3}+m}(c+d x) (A+B \cos (c+d x)) \, dx}{\sqrt [3]{b \cos (c+d x)}}\\ &=\frac {\left (A \sqrt [3]{\cos (c+d x)}\right ) \int \cos ^{-\frac {1}{3}+m}(c+d x) \, dx}{\sqrt [3]{b \cos (c+d x)}}+\frac {\left (B \sqrt [3]{\cos (c+d x)}\right ) \int \cos ^{\frac {2}{3}+m}(c+d x) \, dx}{\sqrt [3]{b \cos (c+d x)}}\\ &=-\frac {3 A \cos ^{1+m}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (2+3 m);\frac {1}{6} (8+3 m);\cos ^2(c+d x)\right ) \sin (c+d x)}{d (2+3 m) \sqrt [3]{b \cos (c+d x)} \sqrt {\sin ^2(c+d x)}}-\frac {3 B \cos ^{2+m}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (5+3 m);\frac {1}{6} (11+3 m);\cos ^2(c+d x)\right ) \sin (c+d x)}{d (5+3 m) \sqrt [3]{b \cos (c+d x)} \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.32, size = 140, normalized size = 0.84 \[ -\frac {3 \sqrt {\sin ^2(c+d x)} \csc (c+d x) \cos ^{m+1}(c+d x) \left (A (3 m+5) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+2);\frac {1}{6} (3 m+8);\cos ^2(c+d x)\right )+B (3 m+2) \cos (c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (3 m+5);\frac {1}{6} (3 m+11);\cos ^2(c+d x)\right )\right )}{d (3 m+2) (3 m+5) \sqrt [3]{b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.88, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac {2}{3}} \cos \left (d x + c\right )^{m}}{b \cos \left (d x + c\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \cos \left (d x + c\right ) + A\right )} \cos \left (d x + c\right )^{m}}{\left (b \cos \left (d x + c\right )\right )^{\frac {1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.19, size = 0, normalized size = 0.00 \[ \int \frac {\left (\cos ^{m}\left (d x +c \right )\right ) \left (A +B \cos \left (d x +c \right )\right )}{\left (b \cos \left (d x +c \right )\right )^{\frac {1}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \cos \left (d x + c\right ) + A\right )} \cos \left (d x + c\right )^{m}}{\left (b \cos \left (d x + c\right )\right )^{\frac {1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\cos \left (c+d\,x\right )}^m\,\left (A+B\,\cos \left (c+d\,x\right )\right )}{{\left (b\,\cos \left (c+d\,x\right )\right )}^{1/3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (A + B \cos {\left (c + d x \right )}\right ) \cos ^{m}{\left (c + d x \right )}}{\sqrt [3]{b \cos {\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________